﻿namespace UmbracoExtending.Dealer.Model.Config
{
    /// <summary>
    /// 经销商配置对象
    /// </summary>
    public class DealerConfiguration
    {
        /// <summary>
        /// 编号
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// 地图平台
        /// </summary>
        public string MapPlatform { get; set; }

        /// <summary>
        /// 地图app key
        /// </summary>
        public string MapAppKey { get; set; }

        /// <summary>
        /// 列表视图，为y时开启列表视图，即经销商不在树中渲染
        /// </summary>
        public string ListView { get; set; }

        /// <summary>
        /// 显示警告，通常在变更了地图平台时显示
        /// </summary>
        public string ShowWarning { get; set; }

        /// <summary>
        /// 简单模式
        /// </summary>
        public string SimpleMode { get; set; }

        /// <summary>
        /// 显示两级，仅在SimpleMode为n时有设置意义。
        /// </summary>
        public string ShowTwoLayers { get; set; }
    }
}
